package com.example.java.pojo.dto;

import com.example.java.pojo.User;
import jakarta.persistence.Column;

public class UserAddressDto {

    private Integer id;

    private Integer user_id;

    private String nickname_address;
    private String phone_address;
    private String province;
    private String city;
    private String district;
    private String address_detail;

    private boolean is_default = false;

    private String created_at;

    private String updated_at;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }


    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district;
    }

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public String getNickname_address() {
        return nickname_address;
    }

    public void setNickname_address(String nickname_address) {
        this.nickname_address = nickname_address;
    }

    public String getPhone_address() {
        return phone_address;
    }

    public void setPhone_address(String phone_address) {
        this.phone_address = phone_address;
    }

    public String getAddress_detail() {
        return address_detail;
    }

    public void setAddress_detail(String address_detail) {
        this.address_detail = address_detail;
    }

    public boolean isIs_default() {
        return is_default;
    }

    public void setIs_default(boolean is_default) {
        this.is_default = is_default;
    }

    public String getCreated_at() {
        return created_at;
    }

    public void setCreated_at(String created_at) {
        this.created_at = created_at;
    }

    public String getUpdated_at() {
        return updated_at;
    }

    public void setUpdated_at(String updated_at) {
        this.updated_at = updated_at;
    }

    @Override
    public String toString() {
        return "UserAddressDto{" +
                "id=" + id +
                ", user_id=" + user_id +
                ", nickname_address='" + nickname_address + '\'' +
                ", phone_address='" + phone_address + '\'' +
                ", province='" + province + '\'' +
                ", city='" + city + '\'' +
                ", district='" + district + '\'' +
                ", address_detail='" + address_detail + '\'' +
                ", is_default=" + is_default +
                ", created_at='" + created_at + '\'' +
                ", updated_at='" + updated_at + '\'' +
                '}';
    }
}
